package com.game.server.message.proto.execute;

import com.comm.ISession;

import com.game.majiang.config.LogManager;
import com.game.majiang.logic.LogicClient;
import com.game.majiang.logic.LogicServer;
import com.game.server.message.proto.in.AbstractSetLongitudeLatitudeReq;

public class SetLongitudeLatitudeReq extends AbstractSetLongitudeLatitudeReq {

    @Override
    public void Execute(ISession session) {
        LogicClient client = (LogicClient) LogicServer.getInstance().getClient(session.getId());
        if (client != null&&client.checkClick(msgcode)) {
        	client.getVo().setLongitude(this.longitude);
        	client.getVo().setLatitude(this.latitude);
        	LogManager.getInstance().Log("this.longitude:"+this.longitude+"  this.latitude:"+this.latitude);
        }
    }

}
